package com.red.wood.common.domain;

import java.util.List;

public class TreeView {
	private Integer id;
	private Integer pId;
	private String url;
	private String name;
	// private Boolean isParent;
	private List<TreeView> children;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer id) {
		pId = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}


	public List<TreeView> getChildren() {
		return children;
	}

	public void setChildren(List<TreeView> children) {
		this.children = children;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	/*
	 * public Boolean getIsParent() { return isParent; } public void
	 * setIsParent(Boolean isParent) { this.isParent = isParent; }
	 */
}
